package com.webbei.xixiaoming.dao;

import java.util.List;
import java.util.Map;

import com.webbei.pojo.Customcomment;
import com.webbei.pojo.Label;
import com.webbei.pojo.LoveCar;
import com.webbei.pojo.Messages;
import com.webbei.pojo.Orders;
import com.webbei.pojo.Products;
import com.webbei.pojo.Report;
import com.webbei.pojo.Userhot;
import com.webbei.xixiaoming.action.rankList;

public interface xixiaomingDao {

	public List<Customcomment> getCommentByOrderid(Long orderId);
	public List<rankList> getShareList_design();
	public List<Userhot> getShareList_user();
	public List<rankList> getShareOrderList(Map s);
	public List<Customcomment> getCommentByCustomid(Long id);
	public Integer getShareLength(Integer r);
	public List<String> getPictureListByOrderId(Long id);
	public List<String> getPictureListByCustomId(Long id);
	public int deletePicture(String picture);
	public void insertOrderPicture(Long id, String type, String picture);
	public void updateOrderPic(Long id, String picture);
	public void updateCustomPic(Long id, String picture);
	public void insertOrderPicture1(Long id, String type, String picname);
	public List<Products> getProduct();
	public String getUserFaceByUserName(String username);
	public Integer insertComment(Customcomment cc);
	public String getUserNameByCommId(Integer commentId);
	public void insetReport(Report re);
	public void insertMessage(Messages m);
	public void updateLoveCarMsg(LoveCar lc);
	public void deleteLoveCarById(Integer id);
	public void updateEmail(Map m);
	public List<rankList> getShareOrderList1(Map m);
	public String getCdrURLByCdrId(int cdrId);
	public Integer updateIsShareAtCustom(Long customid);
	public Integer getProductSizeByBgPic(String bgpic);
	public void updateOrderTheme(Map map);
	public void updateCustomTheme(Map map);
	public List<Label> getLabelById(Integer productId);
	public List<rankList> getShareOrderList2(Map m);
	public Integer getShareLength(Integer recommendTime, Integer productid);
	public List<rankList> getShareOrderList3(Map m);
	public List<Messages> getPrivateTalk(String username);
	public List<Messages> getPrivateTalk(String username, String fromName);
	public Messages getLastPrivateTalk(String from, String to);
	public void addUserhot(String username,Integer num);
	public void addOrderCommentCount(Long id);
	public void addCustomCommentCount(Long id);
	public Integer updateIsShareAtOrder(Long id);
	public Integer getIsShareAtCustom(Long id);
	public int getIsShareAtorder(Long id);
	public void addOrderShareCount(Long id);
	public void addCustomShareCount(Long id);
	public List<rankList> getMyParticipateList(String username);
	public List<rankList> getMyJoinInList(String username);
	public Integer getMyShareSize(String username);
	public Integer getJoinInShareSize(String username);
}
